Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resource and data source for Alert Grouping Setting #935

Merged

Conversation

cjgajard
Copy link
Contributor

@cjgajard cjgajard commented Oct 4, 2024

=== RUN   TestAccPagerDutyAlertGroupingSetting_Basic
--- PASS: TestAccPagerDutyAlertGroupingSetting_Basic (28.62s)
=== RUN   TestAccPagerDutyAlertGroupingSetting_AppendService
--- PASS: TestAccPagerDutyAlertGroupingSetting_AppendService (29.55s)
=== RUN   TestAccPagerDutyAlertGroupingSetting_PopService
--- PASS: TestAccPagerDutyAlertGroupingSetting_PopService (30.34s)
=== RUN   TestAccPagerDutyAlertGroupingSetting_ContentBased_WithTimeWindow
--- PASS: TestAccPagerDutyAlertGroupingSetting_ContentBased_WithTimeWindow (17.42s)
=== RUN   TestAccPagerDutyAlertGroupingSetting_Time_WithTimeoutZero
--- PASS: TestAccPagerDutyAlertGroupingSetting_Time_WithTimeoutZero (16.44s)
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerdutyplugin       123.476s

@cjgajard cjgajard force-pushed the tpf-alert-grouping-setting branch 2 times, most recently from 25034f4 to 966c3c7 Compare October 7, 2024 15:13
@cjgajard cjgajard force-pushed the tpf-alert-grouping-setting branch from 966c3c7 to 7b09a52 Compare October 11, 2024 19:14
@cjgajard cjgajard force-pushed the tpf-alert-grouping-setting branch from 7b09a52 to 79549b9 Compare October 11, 2024 19:18
Copy link
Contributor

@imjaroiswebdev imjaroiswebdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @cjgajard! 🏆 There are a good amount of users waiting for this to be released to tested 💪🏽 Thank you!

@imjaroiswebdev imjaroiswebdev merged commit 58906ac into PagerDuty:master Oct 11, 2024
1 check passed
@cjgajard cjgajard deleted the tpf-alert-grouping-setting branch November 21, 2024 14:27

The `config` block contains the following arguments:

* `timeout` - The duration in minutes within which to automatically group incoming alerts. This setting is only required and applies when `type` is set to `time`. To continue grouping alerts until the incident is resolved leave this value unset or set it to `null`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the documentation regarding the timeout is incorrect. Apparently, the PagerDuty APIs expects the value in seconds, while the documentation says it is in minutes.

Here is the response from terraform apply command:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants